Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add proposal for modify the MaxGasUsedPerBlock #3241

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

lyh169
Copy link
Contributor

@lyh169 lyh169 commented Aug 17, 2023

  • Targeted PR against correct branch (see CONTRIBUTING.md)

  • Linked to github-issue with discussion and accepted design OR link to spec that describes this work.

  • Wrote tests

  • Updated relevant documentation (docs/)

  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md

  • Reviewed Files changed in the github PR explorer


For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge PR #XYZ: [title]" (coding standards)

@codecov-commenter
Copy link

codecov-commenter commented Aug 17, 2023

Codecov Report

Merging #3241 (5301f46) into dev (f438319) will decrease coverage by 0.01%.
The diff coverage is 28.57%.

❗ Current head 5301f46 differs from pull request most recent head 49e98bf. Consider uploading reports for the commit 49e98bf to get more accurate results

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##              dev    #3241      +/-   ##
==========================================
- Coverage   36.57%   36.57%   -0.01%     
==========================================
  Files         444      445       +1     
  Lines       46663    46705      +42     
==========================================
+ Hits        17067    17081      +14     
- Misses      28330    28359      +29     
+ Partials     1266     1265       -1     
Files Changed Coverage Δ
app/config/config.go 26.71% <0.00%> (-0.17%) ⬇️
x/params/querier.go 0.00% <0.00%> (ø)
x/params/types/params.go 0.00% <0.00%> (ø)
x/params/types/params_block.go 0.00% <0.00%> (ø)
app/app.go 81.31% <100.00%> (+0.13%) ⬆️
x/params/keeper.go 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@@ -233,6 +234,10 @@ var (
confLogger log.Logger
)

func GetchainMaxGasUsedPerBlock() int64 {
Copy link
Contributor

@yann-sjtu yann-sjtu Aug 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be GetChainMaxGasUsedPerBlock, chain -> Chain

zjg555543
zjg555543 previously approved these changes Aug 21, 2023
@KamiD KamiD merged commit 2bee5f9 into dev Aug 23, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants